import java.util.Scanner;

public class Test06 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        //int num = sc.nextInt();
        int temp;
        int count1 = 0;
        int count2 = 0;
        while (true){
            temp = sc.nextInt();
            if (temp == 0){
                break;
            } else if (temp < 0) {
                count1++;
            }else {
                count2++;
            }
        }
        System.out.println(count1 + "个奇数");
        System.out.println(count2 + "个偶数");
    }
}
